package orxatas.travelme.entity;

import java.util.ArrayList;

public class Entry {

	private int idAutor;
	private int idEntryOffline;
	private int idEntryOnline;
	private int idGroup;
	private int idPlace;
	private ArrayList<Integer> photos = null;
	private int date;
	private int lastUpdate;
	private String opcionalText;
	private int feeling;
	private int creation;
	
	public Entry(int idEntryOffline, int idGroup, int idPlace, int idAutor){
		this.idAutor = idAutor;
		this.idEntryOffline = idEntryOffline;
		this.idGroup = idGroup;
		this.idPlace = idPlace;
		this.feeling = -1;
		this.lastUpdate = -1;
		this.creation = -1;
	}

	public int getIdAutor() {
		return idAutor;
	}

	public int getIdGroup(){
		return idGroup ;
	}
	
	public int getIdPlace(){
		return idPlace;
	}

	public int getIdEntryOffline() {	
		return idEntryOffline;
	}
	
	public int getIdEntryOnline(){
		return idEntryOnline;
	}
	
	public void setIdEntryOnline(int idEntryOnline) {
		this.idEntryOnline = idEntryOnline;
	}

	public ArrayList<Integer> getPhotos() {
		return photos;
	}

	public void setPhotos(ArrayList<Integer> photos) {
		this.photos = photos;
	}

	public String getText() {
		return opcionalText;
	}

	public void setText(String text) {
		this.opcionalText = text;
	}

	public int getDate() {
		return date;
	}

	public void setDate(int date) {
		this.date = date;
	}
	
	public int getCreation(){
		return creation;
	}
	public void setCreation(int creation){
	
		this.creation = creation;
	}

	public String getOpcionalText() {
		return opcionalText;
	}

	public void setOpcionalText(String opcionalText) {
		this.opcionalText = opcionalText;
	}

	public int getFeeling() {
		return feeling;
	}

	public void setFeeling(int feeling) {
		this.feeling = feeling;
	}
	
	public int getLastUpdate(){
		return lastUpdate;
	}
	
	public void setLastUpdate(int lastUpdate){
		this.lastUpdate = lastUpdate;
	}

}
